package com.lwj.liwanjia.bean;

import java.util.List;

/**
 * 首页分类
 */

public class HomeBean {

    /**
     * state : 1
     * message : null
     * data : [{"indexId":2,"indexButtonName":"利万嘉超市"},{"indexId":3,"indexButtonName":"网上商城"},{"indexId":4,"indexButtonName":"二手市场"},{"indexId":5,"indexButtonName":"农资市场"},{"indexId":6,"indexButtonName":"健康管理"},{"indexId":7,"indexButtonName":"物流快递"},{"indexId":8,"indexButtonName":"本地服务"},{"indexId":9,"indexButtonName":"新闻视频"},{"indexButtonUrl":"secretary.html","indexId":10,"indexButtonName":"我的秘书"},{"indexButtonUrl":"./work/myWork.html","indexId":11,"indexButtonName":"我的工作"},{"indexButtonUrl":"./onCard/oneCard.html","indexId":12,"indexButtonName":"一卡通"}]
     */

    private int state;
    private Object message;
    private List<DataBean> data;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * indexId : 2
         * indexButtonName : 利万嘉超市
         * indexButtonUrl : secretary.html
         */

        private int indexId;
        private String indexButtonName;
        private String indexButton;

        public String getIndexButton() {
            return indexButton;
        }

        public void setIndexButton(String indexButton) {
            this.indexButton = indexButton;
        }

        public int getIndexId() {
            return indexId;
        }

        public void setIndexId(int indexId) {
            this.indexId = indexId;
        }

        public String getIndexButtonName() {
            return indexButtonName;
        }

        public void setIndexButtonName(String indexButtonName) {
            this.indexButtonName = indexButtonName;
        }

    }
}
